function throttle(fn,delay){
    let timer

    return function(){
        let _this = this
        let agrs=arguments
        if(timer){
            timer=setTimeout(()=>{
                timer=null
                fn.apply(_this,args)//
            },delay)
        }
    }
}